import 'dart:convert';


/// id : 1940253505548808194
/// productId : 1940054302298071042
/// coverAddr : "http://192.168.31.61:9000/product-ad/fenix.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=admin%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250724T100419Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=bfd7a703ac083b7e4b9b6b778b10cc3209b6e596244192b729e8ba92f875b461"

class ProductAD {
  ProductAD({num? id, num? productId, String? coverAddr}) {
    _id = id;
    _productId = productId;
    _coverAddr = coverAddr;
  }

  ProductAD.fromJson(dynamic json) {
    _id = json['id'];
    _productId = json['productId'];
    _coverAddr = json['coverAddr'];
  }
  num? _id;
  num? _productId;
  String? _coverAddr;

  num? get id => _id;
  num? get productId => _productId;
  String? get coverAddr => _coverAddr;

}
